package com.woniuxy.listener;
import javax.servlet.ServletRequest;
import javax.servlet.ServletRequestEvent;
import javax.servlet.ServletRequestListener;
import javax.servlet.annotation.WebListener;

@WebListener
public class MyServletRequestListener implements ServletRequestListener{

    @Override
    public void requestInitialized(ServletRequestEvent sre) {
    	System.out.println("ServletRequestListener...init...");
    	ServletRequest servletRequest = sre.getServletRequest();
    	
    }
    
    @Override
    public void requestDestroyed(ServletRequestEvent sre) {
    	
    	System.out.println("ServletRequestListener..destory...");
    }
}
